package top.kaoshanji.p3ch12a;

/**
 * 代码清单-p3ch12a-376页a：声明泛型类型的示例
 * author kaoshanji
 * ^_^
 * create time 2025/2/5 18:24
 */
public class ObjectHolder<T> {

    private T obj;

    public T getObject() {
        return obj;
    }

    public void setObject(T obj) {
        this.obj = obj;
    }

}
